package com.atguigu.registration.cmn.service;

import com.atguigu.registration.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Author: Jiang Yizhi
 * @Date: 2022/4/16 9:03 AM
 */
public interface DictService extends IService<Dict> {
    List<Dict> getChildData(Long id);

    void exportDictData(HttpServletResponse response);

    void importData(MultipartFile file);

    String getDictName(String s, String value);

    List<Dict> findByDictCode(String dictCode);

}
